package com.qlu.syq.dao.admin;

import com.qlu.syq.entity.admin.Place;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: Place
 * @Description: TODO
 * @Author: ZPF
 * @Date: 2021/5/20 12:41
 **/
@Repository
public interface PlaceDao {
    int add(Place place);
    int edit(Place place);
    int delete(Integer id);
    List<Place> findList(Map<String, Object> queryMap);
    Integer getTotal(Map<String, Object> queryMap);
    Place find(Integer id);
    Place findByName(String name);
    List<Place> findAll();
}
